package cn.xutongxue.interview.mapper;

import cn.xutongxue.interview.entity.Question;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
* @author Administrator
* @description 针对表【question(题目表)】的数据库操作Mapper
* @createDate 2024-09-11 16:43:43
* @Entity generator.entity.Question
*/
public interface QuestionMapper extends BaseMapper<Question> {

    /**
     * 查询题目列表（包含已删除题目）
     * @param minUpdateTime 最小更新时间
     * @return 题目列表
     */
    @Select("select * from question where update_time >= #{minUpdateTime}")
    List<Question> listQuestionWithDelete(Date minUpdateTime);
}




